package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.dto.CheckGroupDto;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.CheckItem;

import java.util.List;
import java.util.Map;

public interface CheckGroupService extends IService<CheckGroup> {
    void saveOrUpdateCheckGroup(CheckGroupDto checkGroupDto);

    PageResult findPage(QueryPageBean queryPageBean);

    Map findCheckItemIdsByGroupId(int id);

    void deleteChenckGroupAndCheckItemById(Integer id);

    List<CheckItem> findCheckItemsById(Integer id);
}
